#ifndef _OSDEF_H
#define _OSDEF_H


#ifdef WIN32

typedef int socklen_t;

#else

typedef int                 SOCKET;
typedef unsigned long       DWORD;
typedef int                 BOOL;
typedef unsigned char       BYTE;
typedef unsigned short      WORD;
typedef unsigned int        UINT;
#define FALSE				0
#define TRUE				1
#define SOCKET_ERROR        (-1)
#define INVALID_SOCKET      (-1)

#endif


#endif
